#if !defined(AFX_PAGEDATERANGE_H__82B2D433_8BEA_4DD1_BEDA_D1975582BED6__INCLUDED_)
#define AFX_PAGEDATERANGE_H__82B2D433_8BEA_4DD1_BEDA_D1975582BED6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PageDateRange.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPageDateRange dialog

class CPageDateRange : public CPropertyPage
{
	DECLARE_DYNCREATE(CPageDateRange)

// Construction
public:
	void SetFinanceMonth(INT iDelta);
	void SetNorMonth(INT iDelta);
	CPageDateRange();
	~CPageDateRange();

// Dialog Data
	//{{AFX_DATA(CPageDateRange)
	enum { IDD = IDD_SETDLG_DATERANGE };
	CSpinButtonCtrl	m_NorSpinBtn;
	CSpinButtonCtrl	m_FinSpinBtn;
	CTime	m_BeginDate;
	CTime	m_EndDate;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPageDateRange)
	public:
	virtual BOOL OnApply();
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPageDateRange)
	virtual BOOL OnInitDialog();
	afx_msg void OnRdoAll();
	afx_msg void OnRdoFinance();
	afx_msg void OnRdoMonth();
	afx_msg void OnRdoUser();
	afx_msg void OnFinanceMonthUpDown(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void ONNormalMonthUpDown(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void SaveDateRangeSettings();
	INT m_iType;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PAGEDATERANGE_H__82B2D433_8BEA_4DD1_BEDA_D1975582BED6__INCLUDED_)
